home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 108
/
jogo-disk-108.iso
/
Games
/
steppenwolf_1_chapter_3.swf
/
scripts
/
DefineButton2_830
/
BUTTONCONDACTION on(keyPress t).as
< prev
next >
Wrap
Text File
|
2010-05-15
|
1KB
|
33 lines
on(keyPress "t"){
if(getProperty("_root.Animatiques", _currentframe) == 1)
{
if(eval("/Variables:InvObjet1") != 0)
{
if(eval("/Variables:InvObjetSelect") == 12)
{
set("/Variables:InvObjetSelect",1);
tellTarget("ObjetAffiche")
{
gotoAndStop(eval("/Variables:InvObjet1") + 1);
}
}
else if(eval("/Variables:InvObjet" + (eval("/Variables:InvObjetSelect") + 1)) != 0)
{
set("/Variables:InvObjetSelect",eval("/Variables:InvObjetSelect") + 1);
tellTarget("ObjetAffiche")
{
gotoAndStop(eval("/Variables:InvObjet" + eval("/Variables:InvObjetSelect")) + 1);
}
}
else
{
set("/Variables:InvObjetSelect",1);
tellTarget("ObjetAffiche")
{
gotoAndStop(eval("/Variables:InvObjet1") + 1);
}
}
}
}
}